package com.ruoyi.web.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.validator.group.AddGroup;
import com.ruoyi.common.validator.group.UpdateGroup;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;


@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("uc_quo_project_item")
public class UcQuoProjectItem extends BaseEntity{

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long tableId;

    private Long projectId;

    private Long optionId;

    private Integer indexNo;

    @ApiModelProperty(value = "序号")
    @Excel(name = "序号")
    private String indexStr;

    @ApiModelProperty(value = "项目")
    @Excel(name = "项目")
    private String name;

    private Integer quotaType;

    private Integer quotaFrom;

    private Integer limitType;

    private Integer limitMax;

    private Integer num;

    private Double score;

    @TableLogic
    private Integer delStatus;

    @TableField(exist = false)
    private String text;

    @TableField(exist = false)
    private Long value;

    @TableField(exist = false)
    private Integer numCanApply;

    @TableField(exist = false)
    private Double scoreText;

    @TableField(exist = false)
    private String content;

    @TableField(exist = false)
    private Integer num1;

    @TableField(exist = false)
    private Double score1;

    @TableField(exist = false)
    private Integer num2;

    @TableField(exist = false)
    private Double score2;

    @TableField(exist = false)
    private Double scoreText1;

    @TableField(exist = false)
    private Double scoreText2;

}
